package com.gxy.learn.design.model.create.builder;

/**
 * @description:
 * @author: gaoxueyong
 * @Date: 2022/11/7 14:10
 */
public abstract class Builder {
    //    声明bike类型的变量
    protected Bike bike = new Bike();

    /**
     * 设置自行车名称
     * @Author gaoxueyong
     * @Date 2:29 下午 2022/11/7
     * @Param []
     * @return void
     **/
    public abstract void setName();

    /**
     * 构建车架
     * @Author gaoxueyong
     * @Date 2:13 下午 2022/11/7
     * @Param []
     * @return void
     **/
    public abstract void builderFrame();
    /**
     * 构建车座
     * @Author gaoxueyong
     * @Date 2:13 下午 2022/11/7
     * @Param []
     * @return void
     **/
    public abstract void builderSeat();
    /**
     * 构建自行车
     * @Author gaoxueyong
     * @Date 2:13 下午 2022/11/7
     * @Param []
     * @return com.gxy.learn.design.model.create.builder.Bike
     **/
    public abstract Bike createBike();
}
